﻿<phone:PhoneApplicationPage 
    x:Class="TripleTriad.CreateAccount"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="800" d:DesignWidth="480"
    shell:SystemTray.IsVisible="False">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot">
    	<Grid.Background>
    		<ImageBrush Stretch="UniformToFill" ImageSource="img/bgv.jpg"/>
    	</Grid.Background>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
            <TextBlock x:Name="PageTitle" Text="create account" Margin="0" Style="{StaticResource PhoneTextTitle1Style}" FontSize="66.667" TextAlignment="Center" Foreground="White"/>
        </StackPanel>

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <Button Content="Create" Height="72" HorizontalAlignment="Left" Margin="10,537,0,0" Name="buttonCrea" VerticalAlignment="Top" Width="446" Tap="buttonCrea_Tap" BorderBrush="{x:Null}" Foreground="Black" >
            	<Button.Background>
            		<ImageBrush Stretch="Fill" ImageSource="img/buttonbg.png"/>
            	</Button.Background>
            </Button>

            <TextBlock Height="30" HorizontalAlignment="Left" Margin="12,128,0,0" Name="textBlock2" Text="Username:" VerticalAlignment="Top" Width="106" Foreground="#FFCDC6A7" />
            <TextBox Height="72" HorizontalAlignment="Left" Margin="157,108,0,0" Name="userBox" VerticalAlignment="Top" Width="299" Style="{StaticResource TextBoxStyle1}" />
            <TextBlock Height="30" HorizontalAlignment="Left" Margin="12,206,0,0" Name="textBlock3" Text="Password:" VerticalAlignment="Top" Width="106" Foreground="#FFCDC6A7" />
            <PasswordBox Height="72" HorizontalAlignment="Left" Margin="157,186,0,0" Name="psw1Box" VerticalAlignment="Top" Width="299" Style="{StaticResource PasswordBoxStyle1}" />
            <TextBlock Height="30" HorizontalAlignment="Left" Margin="12,284,0,0" Name="textBlock4" Text="Password:" VerticalAlignment="Top" Width="106" Foreground="#FFCDC6A7" />
            <PasswordBox HorizontalAlignment="Left" Margin="157,264,0,330" Name="psw2Box" Width="299" Style="{StaticResource PasswordBoxStyle1}" />
            <TextBlock Height="30" HorizontalAlignment="Left" Margin="12,0,0,274" Name="textBlock5" Text="Mail:" VerticalAlignment="Bottom" Width="106" Foreground="#FFCDC6A7" />
            <TextBox Height="72" HorizontalAlignment="Left" Margin="157,342,0,0" Name="mailBox" VerticalAlignment="Top" Width="299" Style="{StaticResource TextBoxStyle1}"/>
        </Grid>
    </Grid>
 
    <!--Sample code showing usage of ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Button 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Button 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>
